@import "tailwindcss";

html, body, #root {
  height: 100%;
}

.ant-pro-slider-fixed {
  position: fixed !important;
  height: 100vh;
}

html, body, #root {
  height: 100%;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.8);
}

/* 自定义按钮样式 */
.btn-primary {
  @apply bg-gradient-to-r from-blue-600 to-cyan-600 hover:from-blue-700 hover:to-cyan-700;
}

/* 表单输入框焦点效果 */
.ant-input:focus, .ant-input-focused {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* 卡片悬停效果 */
.ant-card:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}